QT       += core gui widgets printsupport serialport network sql testlib charts # 加入 core、gui 和 widgets 模块，提供基础的 GUI 功能


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = ChargingPiles
TEMPLATE = app


DEFINES += QT_DEPRECATED_WARNINGS



SOURCES += \
        main.cpp \
        mainwindow.cpp \
    qcustomplot.cpp \
    loginform.cpp \
    registerform.cpp \
    objectworkerthread.cpp \
    customapplication.cpp

HEADERS += \
        mainwindow.h \
    information.h \
    qcustomplot.h \
    loginform.h \
    registerform.h \
    objectworkerthread.h \
    customapplication.h

RESOURCES += \
    img.qrc \
    qss.qrc \
    qrc.qrc

include ($$PWD/src/information/information.pri)
INCLUDEPATH += $$PWD/src/information
include ($$PWD/src/battery/battery.pri)
INCLUDEPATH += $$PWD/src/battery
include ($$PWD/src/app/app.pri)
INCLUDEPATH += $$PWD/src/app
include ($$PWD/src/setting/setting.pri)
INCLUDEPATH += $$PWD/src/setting
include ($$PWD/src/historicalData/historicalData.pri)
INCLUDEPATH += $$PWD/src/historicalData
include ($$PWD/src/chargelog/chargelog.pri)
INCLUDEPATH += $$PWD/src/chargelog

QXLSX_PARENTPATH=$$PWD/QXlsx/
QXLSX_HEADERPATH=$$PWD/QXlsx/
QXLSX_SOURCEPATH=$$PWD/QXlsx/
include($$PWD/QXlsx/qtxlsx.pri)

FORMS += \
        mainwindow.ui \
    loginform.ui \
    registerform.ui

DISTFILES += \
    QXlsx/qtxlsx.pri


